package com.lengxf.design;


/**
 * 具体子类 角色
 * By Lengxf
 */
public class SavingAccount extends Account {
    @Override
    public void calculateInterest() {
        System.out.println("按照定期利率计算利息....");
    }

}
